﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CDmDjkChatMessage" targetNamespace="http://tempuri.org/CDmDjkChatMessage.xsd" xmlns:mstns="http://tempuri.org/CDmDjkChatMessage.xsd" xmlns="http://tempuri.org/CDmDjkChatMessage.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="dijiekeConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="dijiekeConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.msBsc.Xsd.DataTds.Properties.Settings.GlobalReference.Default.dijiekeConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DJK_CHAT_MESSAGETableAdapter" GeneratorDataComponentClassName="DJK_CHAT_MESSAGETableAdapter" Name="DJK_CHAT_MESSAGE" UserDataComponentName="DJK_CHAT_MESSAGETableAdapter">
            <MainSource>
              <DbSource ConnectionRef="dijiekeConnectionString (Settings)" DbObjectName="dijieke.dbo.DJK_CHAT_MESSAGE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DJK_CHAT_MESSAGE] WHERE (([CHAT_MESSAGE_ID] = @Original_CHAT_MESSAGE_ID) AND ([MESSAGE_SENDER_ID] = @Original_MESSAGE_SENDER_ID) AND ([MESSAGE_RECEIVER_ID] = @Original_MESSAGE_RECEIVER_ID) AND ([CONTENT_FOR_MESSAGE] = @Original_CONTENT_FOR_MESSAGE) AND ([MESSAGE_SEND_TIME] = @Original_MESSAGE_SEND_TIME) AND ([MESSAGE_IS_READ] = @Original_MESSAGE_IS_READ) AND ([MESSAGE_IS_NOTICE] = @Original_MESSAGE_IS_NOTICE) AND ((@IsNull_IP_FOR_SENDER = 1 AND [IP_FOR_SENDER] IS NULL) OR ([IP_FOR_SENDER] = @Original_IP_FOR_SENDER)) AND ((@IsNull_MESSAGE_SENDER_NICK = 1 AND [MESSAGE_SENDER_NICK] IS NULL) OR ([MESSAGE_SENDER_NICK] = @Original_MESSAGE_SENDER_NICK)) AND ((@IsNull_MESSAGE_RECEIVER_NICK = 1 AND [MESSAGE_RECEIVER_NICK] IS NULL) OR ([MESSAGE_RECEIVER_NICK] = @Original_MESSAGE_RECEIVER_NICK)) AND ([MESSAGE_IS_DELETED] = @Original_MESSAGE_IS_DELETED) AND ((@IsNull_MESSAGE_RMK = 1 AND [MESSAGE_RMK] IS NULL) OR ([MESSAGE_RMK] = @Original_MESSAGE_RMK)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CHAT_MESSAGE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHAT_MESSAGE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_SENDER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_RECEIVER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CONTENT_FOR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CONTENT_FOR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MESSAGE_SEND_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MESSAGE_SEND_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MESSAGE_IS_READ" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_READ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MESSAGE_IS_NOTICE" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_NOTICE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IP_FOR_SENDER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_FOR_SENDER" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IP_FOR_SENDER" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IP_FOR_SENDER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MESSAGE_SENDER_NICK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_NICK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_SENDER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_NICK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MESSAGE_RECEIVER_NICK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_NICK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_RECEIVER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_NICK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MESSAGE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MESSAGE_RMK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MESSAGE_RMK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RMK" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DJK_CHAT_MESSAGE] ([CHAT_MESSAGE_ID], [MESSAGE_SENDER_ID], [MESSAGE_RECEIVER_ID], [CONTENT_FOR_MESSAGE], [MESSAGE_SEND_TIME], [MESSAGE_IS_READ], [MESSAGE_IS_NOTICE], [IP_FOR_SENDER], [MESSAGE_SENDER_NICK], [MESSAGE_RECEIVER_NICK], [MESSAGE_IS_DELETED], [MESSAGE_RMK]) VALUES (@CHAT_MESSAGE_ID, @MESSAGE_SENDER_ID, @MESSAGE_RECEIVER_ID, @CONTENT_FOR_MESSAGE, @MESSAGE_SEND_TIME, @MESSAGE_IS_READ, @MESSAGE_IS_NOTICE, @IP_FOR_SENDER, @MESSAGE_SENDER_NICK, @MESSAGE_RECEIVER_NICK, @MESSAGE_IS_DELETED, @MESSAGE_RMK);
SELECT CHAT_MESSAGE_ID, MESSAGE_SENDER_ID, MESSAGE_RECEIVER_ID, CONTENT_FOR_MESSAGE, MESSAGE_SEND_TIME, MESSAGE_IS_READ, MESSAGE_IS_NOTICE, IP_FOR_SENDER, MESSAGE_SENDER_NICK, MESSAGE_RECEIVER_NICK, MESSAGE_IS_DELETED, MESSAGE_RMK FROM DJK_CHAT_MESSAGE WHERE (CHAT_MESSAGE_ID = @CHAT_MESSAGE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CHAT_MESSAGE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHAT_MESSAGE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_SENDER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_RECEIVER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CONTENT_FOR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CONTENT_FOR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MESSAGE_SEND_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MESSAGE_SEND_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MESSAGE_IS_READ" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_READ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MESSAGE_IS_NOTICE" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_NOTICE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IP_FOR_SENDER" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IP_FOR_SENDER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_SENDER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_NICK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_RECEIVER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_NICK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MESSAGE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RMK" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CHAT_MESSAGE_ID, MESSAGE_SENDER_ID, MESSAGE_RECEIVER_ID, CONTENT_FOR_MESSAGE, MESSAGE_SEND_TIME, MESSAGE_IS_READ, MESSAGE_IS_NOTICE, IP_FOR_SENDER, MESSAGE_SENDER_NICK, MESSAGE_RECEIVER_NICK, MESSAGE_IS_DELETED, MESSAGE_RMK FROM dbo.DJK_CHAT_MESSAGE</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DJK_CHAT_MESSAGE] SET [CHAT_MESSAGE_ID] = @CHAT_MESSAGE_ID, [MESSAGE_SENDER_ID] = @MESSAGE_SENDER_ID, [MESSAGE_RECEIVER_ID] = @MESSAGE_RECEIVER_ID, [CONTENT_FOR_MESSAGE] = @CONTENT_FOR_MESSAGE, [MESSAGE_SEND_TIME] = @MESSAGE_SEND_TIME, [MESSAGE_IS_READ] = @MESSAGE_IS_READ, [MESSAGE_IS_NOTICE] = @MESSAGE_IS_NOTICE, [IP_FOR_SENDER] = @IP_FOR_SENDER, [MESSAGE_SENDER_NICK] = @MESSAGE_SENDER_NICK, [MESSAGE_RECEIVER_NICK] = @MESSAGE_RECEIVER_NICK, [MESSAGE_IS_DELETED] = @MESSAGE_IS_DELETED, [MESSAGE_RMK] = @MESSAGE_RMK WHERE (([CHAT_MESSAGE_ID] = @Original_CHAT_MESSAGE_ID) AND ([MESSAGE_SENDER_ID] = @Original_MESSAGE_SENDER_ID) AND ([MESSAGE_RECEIVER_ID] = @Original_MESSAGE_RECEIVER_ID) AND ([CONTENT_FOR_MESSAGE] = @Original_CONTENT_FOR_MESSAGE) AND ([MESSAGE_SEND_TIME] = @Original_MESSAGE_SEND_TIME) AND ([MESSAGE_IS_READ] = @Original_MESSAGE_IS_READ) AND ([MESSAGE_IS_NOTICE] = @Original_MESSAGE_IS_NOTICE) AND ((@IsNull_IP_FOR_SENDER = 1 AND [IP_FOR_SENDER] IS NULL) OR ([IP_FOR_SENDER] = @Original_IP_FOR_SENDER)) AND ((@IsNull_MESSAGE_SENDER_NICK = 1 AND [MESSAGE_SENDER_NICK] IS NULL) OR ([MESSAGE_SENDER_NICK] = @Original_MESSAGE_SENDER_NICK)) AND ((@IsNull_MESSAGE_RECEIVER_NICK = 1 AND [MESSAGE_RECEIVER_NICK] IS NULL) OR ([MESSAGE_RECEIVER_NICK] = @Original_MESSAGE_RECEIVER_NICK)) AND ([MESSAGE_IS_DELETED] = @Original_MESSAGE_IS_DELETED) AND ((@IsNull_MESSAGE_RMK = 1 AND [MESSAGE_RMK] IS NULL) OR ([MESSAGE_RMK] = @Original_MESSAGE_RMK)));
SELECT CHAT_MESSAGE_ID, MESSAGE_SENDER_ID, MESSAGE_RECEIVER_ID, CONTENT_FOR_MESSAGE, MESSAGE_SEND_TIME, MESSAGE_IS_READ, MESSAGE_IS_NOTICE, IP_FOR_SENDER, MESSAGE_SENDER_NICK, MESSAGE_RECEIVER_NICK, MESSAGE_IS_DELETED, MESSAGE_RMK FROM DJK_CHAT_MESSAGE WHERE (CHAT_MESSAGE_ID = @CHAT_MESSAGE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CHAT_MESSAGE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHAT_MESSAGE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_SENDER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_RECEIVER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CONTENT_FOR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CONTENT_FOR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MESSAGE_SEND_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MESSAGE_SEND_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MESSAGE_IS_READ" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_READ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MESSAGE_IS_NOTICE" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_NOTICE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IP_FOR_SENDER" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IP_FOR_SENDER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_SENDER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_NICK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_RECEIVER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_NICK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MESSAGE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MESSAGE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RMK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CHAT_MESSAGE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CHAT_MESSAGE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_SENDER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_RECEIVER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CONTENT_FOR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CONTENT_FOR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MESSAGE_SEND_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MESSAGE_SEND_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MESSAGE_IS_READ" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_READ" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MESSAGE_IS_NOTICE" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_NOTICE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IP_FOR_SENDER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IP_FOR_SENDER" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IP_FOR_SENDER" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IP_FOR_SENDER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MESSAGE_SENDER_NICK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_NICK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_SENDER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_SENDER_NICK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MESSAGE_RECEIVER_NICK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_NICK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_RECEIVER_NICK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RECEIVER_NICK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_MESSAGE_IS_DELETED" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MESSAGE_IS_DELETED" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MESSAGE_RMK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MESSAGE_RMK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MESSAGE_RMK" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MESSAGE_RMK" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CHAT_MESSAGE_ID" DataSetColumn="CHAT_MESSAGE_ID" />
              <Mapping SourceColumn="MESSAGE_SENDER_ID" DataSetColumn="MESSAGE_SENDER_ID" />
              <Mapping SourceColumn="MESSAGE_RECEIVER_ID" DataSetColumn="MESSAGE_RECEIVER_ID" />
              <Mapping SourceColumn="CONTENT_FOR_MESSAGE" DataSetColumn="CONTENT_FOR_MESSAGE" />
              <Mapping SourceColumn="MESSAGE_SEND_TIME" DataSetColumn="MESSAGE_SEND_TIME" />
              <Mapping SourceColumn="MESSAGE_IS_READ" DataSetColumn="MESSAGE_IS_READ" />
              <Mapping SourceColumn="MESSAGE_IS_NOTICE" DataSetColumn="MESSAGE_IS_NOTICE" />
              <Mapping SourceColumn="IP_FOR_SENDER" DataSetColumn="IP_FOR_SENDER" />
              <Mapping SourceColumn="MESSAGE_SENDER_NICK" DataSetColumn="MESSAGE_SENDER_NICK" />
              <Mapping SourceColumn="MESSAGE_RECEIVER_NICK" DataSetColumn="MESSAGE_RECEIVER_NICK" />
              <Mapping SourceColumn="MESSAGE_IS_DELETED" DataSetColumn="MESSAGE_IS_DELETED" />
              <Mapping SourceColumn="MESSAGE_RMK" DataSetColumn="MESSAGE_RMK" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CDmDjkChatMessage" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="CDmDjkChatMessage" msprop:Generator_UserDSName="CDmDjkChatMessage">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="DJK_CHAT_MESSAGE" msprop:Generator_TableClassName="DJK_CHAT_MESSAGEDataTable" msprop:Generator_TableVarName="tableDJK_CHAT_MESSAGE" msprop:Generator_TablePropName="DJK_CHAT_MESSAGE" msprop:Generator_RowDeletingName="DJK_CHAT_MESSAGERowDeleting" msprop:Generator_RowChangingName="DJK_CHAT_MESSAGERowChanging" msprop:Generator_RowEvHandlerName="DJK_CHAT_MESSAGERowChangeEventHandler" msprop:Generator_RowDeletedName="DJK_CHAT_MESSAGERowDeleted" msprop:Generator_UserTableName="DJK_CHAT_MESSAGE" msprop:Generator_RowChangedName="DJK_CHAT_MESSAGERowChanged" msprop:Generator_RowEvArgName="DJK_CHAT_MESSAGERowChangeEvent" msprop:Generator_RowClassName="DJK_CHAT_MESSAGERow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CHAT_MESSAGE_ID" msprop:Generator_ColumnVarNameInTable="columnCHAT_MESSAGE_ID" msprop:Generator_ColumnPropNameInRow="CHAT_MESSAGE_ID" msprop:Generator_ColumnPropNameInTable="CHAT_MESSAGE_IDColumn" msprop:Generator_UserColumnName="CHAT_MESSAGE_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MESSAGE_SENDER_ID" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_SENDER_ID" msprop:Generator_ColumnPropNameInRow="MESSAGE_SENDER_ID" msprop:Generator_ColumnPropNameInTable="MESSAGE_SENDER_IDColumn" msprop:Generator_UserColumnName="MESSAGE_SENDER_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MESSAGE_RECEIVER_ID" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_RECEIVER_ID" msprop:Generator_ColumnPropNameInRow="MESSAGE_RECEIVER_ID" msprop:Generator_ColumnPropNameInTable="MESSAGE_RECEIVER_IDColumn" msprop:Generator_UserColumnName="MESSAGE_RECEIVER_ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="36" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CONTENT_FOR_MESSAGE" msprop:Generator_ColumnVarNameInTable="columnCONTENT_FOR_MESSAGE" msprop:Generator_ColumnPropNameInRow="CONTENT_FOR_MESSAGE" msprop:Generator_ColumnPropNameInTable="CONTENT_FOR_MESSAGEColumn" msprop:Generator_UserColumnName="CONTENT_FOR_MESSAGE">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="400" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MESSAGE_SEND_TIME" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_SEND_TIME" msprop:Generator_ColumnPropNameInRow="MESSAGE_SEND_TIME" msprop:Generator_ColumnPropNameInTable="MESSAGE_SEND_TIMEColumn" msprop:Generator_UserColumnName="MESSAGE_SEND_TIME" type="xs:dateTime" />
              <xs:element name="MESSAGE_IS_READ" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_IS_READ" msprop:Generator_ColumnPropNameInRow="MESSAGE_IS_READ" msprop:Generator_ColumnPropNameInTable="MESSAGE_IS_READColumn" msprop:Generator_UserColumnName="MESSAGE_IS_READ" type="xs:boolean" />
              <xs:element name="MESSAGE_IS_NOTICE" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_IS_NOTICE" msprop:Generator_ColumnPropNameInRow="MESSAGE_IS_NOTICE" msprop:Generator_ColumnPropNameInTable="MESSAGE_IS_NOTICEColumn" msprop:Generator_UserColumnName="MESSAGE_IS_NOTICE" type="xs:boolean" />
              <xs:element name="IP_FOR_SENDER" msprop:Generator_ColumnVarNameInTable="columnIP_FOR_SENDER" msprop:Generator_ColumnPropNameInRow="IP_FOR_SENDER" msprop:Generator_ColumnPropNameInTable="IP_FOR_SENDERColumn" msprop:Generator_UserColumnName="IP_FOR_SENDER" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MESSAGE_SENDER_NICK" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_SENDER_NICK" msprop:Generator_ColumnPropNameInRow="MESSAGE_SENDER_NICK" msprop:Generator_ColumnPropNameInTable="MESSAGE_SENDER_NICKColumn" msprop:Generator_UserColumnName="MESSAGE_SENDER_NICK" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MESSAGE_RECEIVER_NICK" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_RECEIVER_NICK" msprop:Generator_ColumnPropNameInRow="MESSAGE_RECEIVER_NICK" msprop:Generator_ColumnPropNameInTable="MESSAGE_RECEIVER_NICKColumn" msprop:Generator_UserColumnName="MESSAGE_RECEIVER_NICK" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MESSAGE_IS_DELETED" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_IS_DELETED" msprop:Generator_ColumnPropNameInRow="MESSAGE_IS_DELETED" msprop:Generator_ColumnPropNameInTable="MESSAGE_IS_DELETEDColumn" msprop:Generator_UserColumnName="MESSAGE_IS_DELETED" type="xs:boolean" />
              <xs:element name="MESSAGE_RMK" msprop:Generator_ColumnVarNameInTable="columnMESSAGE_RMK" msprop:Generator_ColumnPropNameInRow="MESSAGE_RMK" msprop:Generator_ColumnPropNameInTable="MESSAGE_RMKColumn" msprop:Generator_UserColumnName="MESSAGE_RMK" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DJK_CHAT_MESSAGE" />
      <xs:field xpath="mstns:CHAT_MESSAGE_ID" />
    </xs:unique>
  </xs:element>
</xs:schema>